package com.neuedu.shop.service;

import com.neuedu.shop.entity.Category;
import com.neuedu.shop.entity.Product;
import com.baomidou.mybatisplus.service.IService;
import com.neuedu.shop.vo.ConditionVO;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.awt.*;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Qin
 * @since 2021-04-10
 */
public interface ProductService extends IService<Product> {
   List<Product> selectAll();

   List<Category> findTheThirdGrade();

   void insertProduct(Product product, CommonsMultipartFile file, HttpServletRequest request);

   List<Product> complexSearchByCondition(ConditionVO vo);
}
